package menuActions;

import gui.AbstractMainFrame;

public abstract class FrameBasedMenuAction implements MenuAction
{
	private AbstractMainFrame frame;
	
	public void setComponent(AbstractMainFrame frame)
	{
		this.frame = frame;
	}
	
	public AbstractMainFrame getFrame()
	{
		return frame;
	}
	
	@Override
	public abstract void executeAction();
}
